package com.ztgf.file.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.ztgf.file.models.dto.FileUserDTO;
import com.ztgf.file.models.vo.FileUserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文件用户表映射
 *
 * @author mxli
 * @Date 2020-10-15 14:32:14
 */
public interface FileUserMapper extends BaseMapper<FileUserDTO> {

    List<FileUserVO> queryPageVOList(Page<FileUserVO> page, @Param("ew") Wrapper<FileUserVO> queryWrapper,Integer type);
    FileUserVO getUserVO(Long userId);
}
